-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
test: AI analysis refactor #21811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
test: AI analysis refactor #21811
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
- Removed backward compatibility wrapper comments and unnecessary exports in ai-e2e-tags-selector.ts. - Updated README.md to reflect the modular architecture and removed redundant sections. - Simplified decision-parser.ts by removing filtering of valid tags and directly using selected_tags from the response. - Cleaned up file-categorizer.ts by removing unused imports. - Streamlined patterns.config.ts by eliminating checks for specific core files. - Adjusted system-prompt-builder.ts to use availableTags instead of pipelineTags for consistency. - Removed pipelineTags from AIE2ETagsSelector class, using availableTags instead for clarity. - Updated selector.ts to ensure fallback analysis uses availableTags. - Cleaned up e2e/tags.js by removing unused tags export.
🔍 Smart E2E Test Selection⏭️ Smart E2E selection disabled due to |
|



Description
Refactored the AI E2E tags selector.
Key Changes
Architecture:
Tag Configuration:
Documentation:
Files Changed
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Replaces the old AI E2E analysis action with a new Smart E2E Selection workflow and refactors the AI E2E tag selector into a modular architecture with centralized tag config and PR commenting.
\.github/actions/smart-e2e-selectionto run AI analysis, respectskip-smart-e2e-selection, and post a PR comment.\.github/workflows/ci.ymlto usesmart-e2e-selection(outputse2e_test_tags) and enable PR commenting; remove usage of the old action.\.github/scripts/e2e-smart-selection.mjsto execute analysis, emit outputs, and generate a PR comment body.\.github/actions/ai-e2e-analysisand\.github/scripts/ai-e2e-analysis.mjs.e2e/scripts/ai-e2e-tags-selector.tswith a modular package (analysis/,tools/,prompts/,utils/,config/,types/) and a thin entry point.aiE2EConfigine2e/tags.jsand export for selector prompts.e2e/scripts/ai-e2e-tags-selector/README.md(architecture/usage).skip-smart-e2e-selectionandskip-e2e-quality-gate.Written by Cursor Bugbot for commit e1b7d2d. This will update automatically on new commits. Configure here.